CommonsBooking\Repository\Restriction S

Total Complexity 31
Dependencies 5
Dependents 7
Total lines 257
Lines of code 147
Logical lines of code 53
Comment lines 74
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
filterPosts()
A
48 14 34
get()
A
54 8 21
queryPosts()
S
51 4 27
getDateQuery()
S
53 1 27
getMinTimestampQuery()
S
55 1 23
castPostsToRestrictions()
S
70 2 6
getActiveQuery()
S
65 1 9